<?php
Route::group([
	'prefix' => 'forum',
	'namespace' => 'Forum'
], function () {
	Route::group([
		'prefix' => 'forum',
	], function () {
		// 用户管理列表
		Route::get('/', 'ForumsController@index')->name('admin.forum.forums');
		Route::get('/forumshen', 'ForumsController@forumshen')->name('admin.forum.forumshen');
		// 添加用户
		Route::get('/add', 'ForumsController@add')->name('admin.forum.forums.add');
        Route::get('/comment/{id}', 'ForumsController@comment')->name('admin.forum.forums.comment');
        Route::get('/comment_add/{id}', 'ForumsController@comment_add')->name('admin.forum.forums.comment_add');
        Route::get('/comment_shen/{id}', 'ForumsController@comment_shen')->name('admin.forum.forums.comment_shen');
        Route::get('/comment_delete/{id}', 'ForumsController@comment_delete')->name('admin.forum.forums.comment_delete');
        Route::post('/comment_save', 'ForumsController@comment_save')->name('admin.forum.forums.comment_save');
        Route::post('/comment_refund', 'ForumsController@comment_refund')->name('admin.forum.forums.comment_refund');
		// 编辑用户
		Route::get('/edit/{id}', 'ForumsController@edit')->name('admin.forum.forums.edit');
		// 保存用户信息
		Route::post('/save', 'ForumsController@save')->name('admin.forum.forums.save');
		// 删除用户
		Route::get('/delete/{id}', 'ForumsController@delete')->name('admin.forum.forums.delete');
		//审核店铺
        Route::get('/shen/{id}', 'ForumsController@shen')->name('admin.forum.forums.shen');
        //审核店铺
        Route::post('/refund', 'ForumsController@refund')->name('admin.forum.forums.refund');
	});
});